package com.mdd.front.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("订单创建参数")
public class OrderCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;



    @NotNull(message = "门店id参数缺失")
    @ApiModelProperty(value = "门店id")
    private Long storeId;

    @NotNull(message = "租赁计划id参数缺失")
    @ApiModelProperty(value = "租赁计划详情id")
    private Long leasingSchemeDetailsId;

    @NotNull(message = "properties参数缺失")
    @ApiModelProperty(value = "sku值")
    private String properties;

    @NotNull(message = "spuId参数缺失")
    @ApiModelProperty(value = "spuId")
    private String spuId;

    @ApiModelProperty(value = "订单备注")
    private String note;

}
